/**
 * @按位与运算&
 *
 * @author	 wangshikun <wangshikun2010@gmail.com>
 * @copyright	(c) 2012 wangshikun <wangshikun2010@gmail.com>
 * @license	http://www.opensource.org/licenses/mit-license.php The MIT License
 * @package	default
 * @subpackage	default
 */

#include <stdio.h>

int main(void) {
	unsigned int word1 = 077u, word2 = 0150u, word3 = 0210u;

	printf("%o\n", word1 & word2);
	printf("%o\n", word1 & word1);
	printf("%o\n", word1 & word2 & word3);
	printf("%o\n", word1 & 1);

	return 0;
}
